Resets the row and columns headings of the specified window to their default values. Use the Reset method instead if you want to reset specific row and column headings.
expression.ResetHeadings
expression Required. An expression that returns a Window object.
The following example resets the row and column headings of the active window in Spreadsheet1 to their default values.
Spreadsheet1.ActiveWindow.ResetHeadings